﻿@model Mestedur.ViewModels.EditorViewModels.EditorCourseViewModel

@{
    ViewBag.Title = "EditCourse";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Редактировать курс</h2>

<form action="/Editor/EditCourse" method="post">
 <div class="text"> 
<table>
    <tr>
        <td>@Html.LabelFor(x=>x.CourseName)</td>
        <td>@Html.TextBoxFor(x=>x.CourseName)</td>
    </tr>

    <tr>
        <td>@Html.LabelFor(x=>x.NumberInOrder)</td>
        <td>@Html.TextBoxFor(x => x.NumberInOrder)</td>
    </tr>
</table>
<center><input type=submit value="Сохранить" /></center>
</div> 
</form>
